#ifndef PRINTVIEW_H
#define PRINTVIEW_H

#include <QtGui>
#include "ui_printview.h"

class PrintView: public QWidget, private Ui::PrintView
{
Q_OBJECT

public:

PrintView();
~PrintView() {};

public slots:

void set_doc( QTextDocument * doc );
void print_file();
void print_pdf();

signals:

private:

void writeSettings();
void readSettings();

protected:

void closeEvent( QCloseEvent * e );

};

#endif // PRINTVIEW_H
